package com.sgb.kjwl.api.net;


import com.sgb.kjwl.api.service.TeamNewInterfaceAPI;
import com.sgb.net.core.BaseCompatibleNet;

import okhttp3.OkHttpClient;

/**
 * @author 王彬臣
 * @date 2021/8/9
 * description: 工队模块网络请求
 */
public class TeamNet extends BaseCompatibleNet {

    private final TeamNewInterfaceAPI mService;

    private TeamNet() {
        mService = getService(TeamNewInterfaceAPI.class, mBaseUrl);
    }

    private static class Single {
        private static final TeamNet INSTANCE = new TeamNet();
    }

    public static TeamNet getInstance() {
        return Single.INSTANCE;
    }

    @Override
    protected void handleBuilder(OkHttpClient.Builder builder) {

    }

    public TeamNewInterfaceAPI getService() {
        return mService;
    }
}
